package org.springframework.core.type.classreading;

import org.springframework.core.type.ServiceMethodMetadata;

public class ImplementMethodMetadataReadingVisitor {
	final MethodMetadataReadingVisitor visitor;
	final String desc, signature;
	final String[] exceptions;
	final int access;
	public ImplementMethodMetadataReadingVisitor(MethodMetadataReadingVisitor visitor,
			int access, String desc, String signature, String[] exceptions){
		this.visitor = visitor;
		this.access = access;
		this.desc = desc;
		this.signature = signature;
		this.exceptions = exceptions;
	}
	public boolean ckeck(ServiceMethodMetadata smm){
		return smm.getMethodName().equals(visitor.getMethodName()) && smm.getDesc().equals(desc);
	}
}
